import config from "@/config"
import http from "@/utils/request"

export default {
    list: {
        url: `${config.API_URL}/article-exercise/list-page`,
        name: "获取列表",
        get: async function (params) {
            return await http.get(this.url, params);
        }
    },
    action: {
        url: `${config.API_URL}/article-exercise`,
        name: "用户操作",
        get: async function (params) {
            return await http.get(this.url, params);
        }
    },
    log: {
        list: {
            url: `${config.API_URL}/article-exercise-log/list-page`,
            name: "获取列表",
            get: async function (params) {
                return await http.get(this.url, params);
            }
        },
        action: {
            url: `${config.API_URL}/article-exercise-log`,
            name: "用户操作",
            get: async function (params) {
                return await http.get(this.url, params);
            }
        }
    },
}